<%--
  Created by IntelliJ IDEA.
  User: Iurii_Miedviediev
  Date: 9/10/2014
  Time: 6:25 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<html>
<head>
    <%@ include file="../base/headconfig.jsp" %>
    <link href="css/signin.css" rel="stylesheet">
    <title>Registration Page</title>
</head>
<body>
<%@ include file="../base/header.jsp" %>
<div class="intro-header">

    <div class="container">

        <div class="intro-message">

            <h2 class="form-signin-heading">Please, fill the following fields:</h2>

            <form:form method="POST" class="form-signin" commandName="user" action="register">
                <form:errors path="*" cssClass="errorblock" element="div" />
                <form:input cssClass="form-control" path="login" placeholder="Login" />
                <form:input type="password" cssClass="form-control" path="password" placeholder="Password" />
                <form:input cssClass="form-control" path="firstName" placeholder="First Name" />
                <form:input cssClass="form-control" path="lastName" placeholder="Last Name"/>
                <form:input cssClass="form-control" path="email" placeholder="Email"/>
                <button class="btn btn-lg btn-primary btn-block" type="submit">Register</button>
            </form:form>

        </div>

    </div>
</div>
<%@ include file="../base/footer.jsp" %>
</body>
</html>
